import {
  BASE
} from '../api'
import axios from '../http'

const USERMANAGE = {
  // 报警列表
  ALARMLIST: params =>
    axios.get(`${BASE.PRO}Luanzhou/alarm/selectByInfo`, {params}),
  // 历史数据
  REALLIST: params =>
    axios.get(`${BASE.PRO}Luanzhou/sensorData/selectByInfo`, {
      params
    })
}

export default USERMANAGE